package com.sdgs.paas.sdk.core.test;

import static com.sdgs.paas.sdk.core.environment.EnviromentBuilder.buildTestEnv;

import org.springframework.test.context.TestContext;
import org.springframework.test.context.support.AbstractTestExecutionListener;

/**
 * 测试监听器，修改配置文件
 * 
 * @author wjj
 *
 */
public class PaasTestExecutionListener extends AbstractTestExecutionListener {

	@Override
	public final int getOrder() {
		return 999;
	}

	@Override
	public void prepareTestInstance(TestContext testContext) throws Exception {
		buildTestEnv(testContext);
	}

}
